__author__ = 'sdjkx'
import pymysql

class Config:

    # 定义数据库访问参数
    # 阿里云MySql：rm-bp1q3s0scj21a98w7yo.mysql.rds.aliyuncs.com  帐号：eye_sky， 密码 eyesky@888
    config = {
        'host': "rm-bp1q3s0scj21a98w7yo.mysql.rds.aliyuncs.com",
        'port': 6806,
        'user': "eye_sky",
        'passwd': "eyesky@888",
        'dbName': "eyesky",
        'charset': 'utf8',
        'cursorclass': pymysql.cursors.DictCursor
    }

    # 阿里云RAM账号
    AccessKeyId = "LTAI4GEJfnpguecAXWbt4oHp"
    AccessKeySecret = "SS9Ekzzs8w9h0C9zhRZbsktElgUnAl"
    BucketUrl = "http://oss-cn-zhangjiakou.aliyuncs.com"

    DownFilePath = "D:/Phone/src/"
    ClassFilePath = "D:/Phone/"
    # 压缩图片分类的图片大小
    ClassFileMaxSize = 500

    # LoginUrl = "http://106.12.17.245:8081/login"
    # CaptchaImageUrl = "http://106.12.17.245:8081/captchaImage"
